package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hyl
 * @since 2022-08-28
 */
@TableName("expense")
public class Expense implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "exp_id", type = IdType.AUTO)
    private Integer expId;
    @TableField(value = "exp_category")
    private String expCategory;

    public Integer getExpId() {
        return expId;
    }

    public void setExpId(Integer expId) {
        this.expId = expId;
    }

    public String getExpCategory() {
        return expCategory;
    }

    public void setExpCategory(String expCategory) {
        this.expCategory = expCategory;
    }

    @Override
    public String toString() {
        return "Expense{" +
                "expId=" + expId +
                ", expCategory=" + expCategory +
                '}';
    }
}
